<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<%@ page import="java.util.*,com.hengpeng.itfinbase.persist.ArticleCategory"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>站内信信息列表</title>
</head>
<body>
<div class="youarehere">网站内容管理 &gt; <span>管理站内信</span></div>
<form action='<chtml:path path="/" />message/list' method="post" id="messageForm">
<table width="99%" align="center" border="0" cellpadding="1"
	cellspacing="1" class="data_table">
	<tr>
		<td class="data_tab_th" colspan="6">查询站内信</td>
	</tr>
	<tr>
		<td class="data_tab_tdr">标题</td>
		<td class="data_tab_tdl"><input type="text" value="${title}" name="title" /></td>
		<td class="data_tab_tdr">用户名</td>
		<td class="data_tab_tdl"><input type="text" value="${userName}" name="userName" /></td>
		<td class="data_tab_tdr">类型</td>
		<td class="data_tab_tdl">
		<chtml:enum name="type" defaultOption="--全部--" defaultValue="" type="com.hengpeng.itfinbase.persist.Message$MessageType" textProperty="text" selected="${type}"/>
		</td>
	</tr>
	<tr>
		<td class="data_tab_tdr">发送方式</td>
		<td class="data_tab_tdl">
		<chtml:enum name="sendType" defaultOption="--全部--" defaultValue="" type="com.hengpeng.itfinbase.persist.Message$MessageSendType" textProperty="text" selected="${sendType}"/>
		</td>
		<td class="data_tab_tdr">是否已发布</td>
		<td class="data_tab_tdl" colspan="3">
		<chtml:enum name="isPublish" defaultOption="--全部--" defaultValue="" type="com.hengpeng.common.persist.entity.AbstractEntity$BoolValue" textProperty="text" selected="${isPublish}"/>
		</td>
	</tr>
	<tr>
		<td class="data_tab_tdr">发布开始时间</td>
		<td class="data_tab_tdl"><input type="text" value="${publishDate1}" name="publishDate1" id="publishDate1" readonly />
		<img id="dateimg1" src="<chtml:path  path="/" />images/calendar2.gif" />
		<script type="text/javascript">Calendar.showDate("publishDate1","dateimg1");</script>
		</td>
		<td class="data_tab_tdr">截止发布时间</td>
		<td class="data_tab_tdl" colspan="3"><input type="text" value="${publishDate2}" name="publishDate2" id="publishDate2" readonly />
		<img id="dateimg2" src="<chtml:path  path="/" />images/calendar2.gif" />
		<script type="text/javascript">Calendar.showDate("publishDate2","dateimg2");</script>
		</td>
	</tr>
	<tr>
		<td align="center" colspan="6" class="bg_bai">
		
		<div class="mr_20 t_c">
			<input type="submit" class="pub_bt" value="查询" onclick='document.getElementsByName("PaginationButton_CurrentPage4list")[0].value=1;'/>
			<input type="button" class="pub_bt" value="重置" onclick="this.form.reset();" />
		</div>
			
	    </td>
	</tr>
</table>
<br />
<!-- 自定义标签示例 -->
<chtml:list collection="list"
	type="com.hengpeng.itfinbase.persist.Message" updateLink="get/@{id}" linkTarget="_self"
	includeFields="title,content,sender,sendType,creatDate,publishDate,receiverTotal,readTotal,readRate" fieldWidth="120,240,60,60,120,120,60,60,60"
	createLink="message/new" showCheckBox="true" title="新闻列表" paginationName="listPage" allowSort="false">
</chtml:list>
</form>
<!--说明   -->	
<div class="sm_info">
	<p class="row_one">说明：</p>
	<p class="other"></p>
	<p class="other"></p>
</div>
</body>
</html>
